package org.nlp2rdf.navigator.benchmark.cli;

import com.hp.hpl.jena.query.*;
import org.aksw.commons.jena.ExtendedQueryEngineHTTP;


/**
 * Created by Claus Stadler
 * Date: Oct 25, 2010
 * Time: 8:05:38 PM
 */
public class StopTest {
    public static void main(String[] args) {
        String endpointUrl = "http://hanne.aksw.org:8901/sparql";
        ExtendedQueryEngineHTTP qe = new ExtendedQueryEngineHTTP(endpointUrl.toString(), "Select * From <http://dbpedia.org> {?s ?p ?o . }");

        //org.nlp2rdf.navigator.component.learn.KsSPARQLComponent x;
        //SparqlService

        qe.setTimeOut(1000);

        System.out.println("Starting query...");
        ResultSet rs = qe.execSelect();
        System.out.println("Exiting");
    }
}
